libxl: libxl__domain_config_setdefault: New function
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 3 Oct 2019 16:31:15 +0000 (17:31 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 24 Oct 2019 15:08:41 +0000 (16:08 +0100)
commit2541fcc34cd546e64a0cfc141c4f7b84fa87e685
tree64c7c0b23a1ff5bebd6db96117fc6905b907a865
parent3f21bd497747fbfe6e548a3c50b55dfe21a1eefb
libxl: libxl__domain_config_setdefault: New function

Break out this into a new function.  We are going to want to call it
from a new call site.

Unfortunately not all of the defaults can be moved into the new
function without changing the order in which things are done.  That
does not seem wise at this stage of the release.  The effect is that
additional calls to libxl__domain_config_setdefault (which are going
to be introduced) do not quite set everything.  But they will do what
is needed.  After Xen 4.13 is done, we should move those settings into
the right order.

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h